package JUnitTest;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import utilities.PasswordGenerator;

public class testPassGenerator {

	PasswordGenerator pG;
	
	@Before
	public void before(){
		pG = new PasswordGenerator();
	}
	
	@Test
	public void testNewPassword() {
		String pass1;
		String pass2;
		String pass3;
		
		pass1 = pG.getNewPassword();
		pass2 = pG.getNewPassword();
		pass3 = pG.getNewPassword();
		
		System.out.println(pass1);
		System.out.println(pass2);
		System.out.println(pass3);
		
		assertNotEquals(pass1,pass2);
		assertNotEquals(pass2,pass3);
		assertNotEquals(pass1,pass3);
	}

}
